package cn.hcbycloud.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 认证中心启动类
 * @author gaoh
 */
@RefreshScope
@EnableCircuitBreaker
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"cn.**.*","com.**.*"})
@SpringBootApplication
public class AuthStarterApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthStarterApplication.class, args);
    }
}